package com.nycreativity.elecreativity.service

import com.baomidou.mybatisplus.extension.service.IService
import com.nycreativity.elecreativity.entity.dto.UserRoleDTO
import com.nycreativity.elecreativity.entity.po.GoodsType
import com.nycreativity.elecreativity.entity.po.Role
import com.nycreativity.elecreativity.entity.po.UserRole

interface UserRoleService  : IService<UserRole> {

    fun queryByUserId(userId : Long): List<UserRole>

    fun queryUserRoleDTOByUserId(userId: Long?): List<UserRoleDTO>
}